<!DOCTYPE html>
<html>
<head>
<title>协同办公自动化管理系统</title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>

	<link rel="stylesheet" href="__PUBLIC__/Admin/css/min.css" />
	<link rel="stylesheet" href="__PUBLIC__/Admin/content/style.css" />
	<!-- jQuery AND jQueryUI -->
	<script type="text/javascript" src="__PUBLIC__/Admin/js/libs/jquery/1.6/jquery.min.js"></script>
	<script type="text/javascript" src="__PUBLIC__/Admin/js/libs/jqueryui/1.8.13/jquery-ui.min.js"></script>
	<script type="text/javascript" src="__PUBLIC__/Admin/js/min.js"></script>
	<script type="text/javascript" src="__PUBLIC__/Admin/content/main.js"></script>
	<style type="text/css">
	body {
		 overflow-x : hidden;
		 overflow-y : hidden;
	}
	</style>
</head>
<body>

<!--HEAD -->
<div id="head">
	<div class="logo" style="width:240px;background-color:gray;text-align:center;border-radius:2%">
		<!--<img src="__PUBLIC__/Admin/images/onethink.png" alt="{$User.nickname}" />-->
		<a href="{:U('Index/index/')}" style="display:inline">前端用户中心&nbsp;&nbsp;|</a>
		<a href="{:U('Index/system/')}"style="display:inline">&nbsp;&nbsp;后端应用中心</a>
	</div>
	<div class="left">
		<a href="{:U('Config/userInfo')}" target="menuFrame" class="button profile">
			<img src="__PUBLIC__/Admin/images/icons/top/huser.png" alt="{$User.nickname}" />
		</a>
		您好, 
		<a href="{:U('Config/userInfo')}" target="menuFrame">{$Admin.nickname}</a>
		| <a href="{:U('Config/password')}" target="menuFrame">修改密码</a> | <a href="{:U('Login/out/')}">退出</a> 
	</div>
	<div class="right">
		<!-- <form action="{:U('Order/index')}" id="search" method="get" target="menuFrame" class="search placeholder">
			<label>搜索订单号/商户/手机/等等快速查询</label>
			<input type="text" value="" name="key" class="text"/>
			<input type="hidden" value="0" name="type" class="text"/>
			<input type="submit" value="rechercher" class="submit"/>
		</form> -->
	</div>
</div>

<!-- SIDEBAR -->
<div id="sidebar" style="float:left">
	<ul>
		<volist name='supmenuList' id='vo'>
			<?php $j=0;?>
			<volist name='submenuList' id='vo2'>
				<?php
					if($vo2[pid]==$vo[id]){
						if($j==0){
				?>
					<li>
						<a href="#"><img src="__PUBLIC__/Admin/images/icons/menu/user.png" alt="" />{$vo.name}</a>
							<ul>
						<?php
							$j=1;
						}?>
							<li>
								<a href="{:U($vo2[url])}" target="menuFrame">{$vo2.name}</a>
							</li>
					<?php	
						}?>
			</volist>
			<?php
				if($j==1){
					?>
					</ul>
				</li>
			<?php
				}
			?>
		</volist>
		<!-- <li>
			<a href="#"><img src="__PUBLIC__/Admin/images/icons/menu/user.png" alt="" />表单管理</a>
			<ul>
				<li>
					<a href="{:U('Form/index')}" target="menuFrame">查询表单</a>
				</li>
				<li>
					<a href="{:U('Form/editUI')}" target="menuFrame">新增表单</a>
				</li>
			</ul>
		</li>
		<li>
			<a href="#"><img src="__PUBLIC__/Admin/images/icons/menu/user.png" alt="" />建模引擎</a>
			<ul>
				<li>
					<a href="{:U('Module/index')}" target="menuFrame">查询建模</a>
				</li>
				<li>
					<a href="{:U('Module/editUI')}" target="menuFrame">新增建模</a>
				</li>
			</ul>
		</li>
		<li>
			<a href="#"><img src="__PUBLIC__/Admin/images/icons/menu/user.png" alt="" />测试</a>
			<ul>
				<volist name='moduleList' id='vo'>
					<li>
						<a href="{:U('Moduleinstance/index')}?moduleId={$vo.id}" target="menuFrame">{$vo.name}</a>
					</li>
				</volist>
			</ul>
		</li>
		<li>
			<a href="#"><img src="__PUBLIC__/Admin/images/icons/menu/user.png" alt="" />流程引擎</a>
			<ul>
				<li>
					<a href="{:U('Index/no')}" target="menuFrame">查询流程</a>
				</li>
				<li>
					<a href="{:U('Index/no')}" target="menuFrame">新建流程</a>
				</li>
			</ul>
		</li>
		<li>
			<a href="#"><img src="__PUBLIC__/Admin/images/icons/menu/user.png" alt="" />门户引擎</a>
			<ul>
				<li>
					<a href="{:U('Index/no')}" target="menuFrame">查询菜单</a>
				</li>
				<li>
					<a href="{:U('Index/no')}" target="menuFrame">新建菜单</a>
				</li>
			</ul>
		</li>
		<li>
			<a href="#"><img src="__PUBLIC__/Admin/images/icons/menu/user.png" alt="" />组织权限中心</a>
			<ul>
				<li>
					<a href="{:U('Index/no')}" target="menuFrame">查询人员</a>
				</li>
				<li>
					<a href="{:U('Index/no')}" target="menuFrame">新建人员</a>
				</li>
			</ul>
		</li>
		<li>
			<a href="#"><img src="__PUBLIC__/Admin/images/icons/menu/user.png" alt="" />系统设置</a>
			<ul>
				<li>
					<a href="{:U('Index/no')}" target="menuFrame">待开发...</a>
				</li>
			</ul>
		</li>
		<li>
			<a href="#"><img src="__PUBLIC__/Admin/images/icons/menu/user.png" alt="" />运维中心</a>
			<ul>
				<li>
					<a href="{:U('Index/no')}" target="menuFrame">待开发...</a>
				</li>
			</ul>
		</li>
		<li>
			<a href="#"><img src="__PUBLIC__/Admin/images/icons/menu/user.png" alt="" />日志中心	</a>
			<ul>
				<li>
					<a href="{:U('Index/no')}" target="menuFrame">待开发...</a>
				</li>
			</ul>
		</li>
		<li>
			<a href="#"><img src="__PUBLIC__/Admin/images/icons/menu/user.png" alt="" />流程</a>
			<ul>
				<li>
					<a href="{:U('Index/no')}" target="menuFrame">待开发...</a>
				</li>
			</ul>
		</li> -->
	</ul>
</div>
<iframe id="menuFrame" name="menuFrame" src="{:U('Index/main')}" style=" overflow: hidden; margin-top:40px" scrolling="yes" frameborder="no" width="100%" height="100%"></iframe>
<script type="text/javascript">
jQuery(function($){
	var height = $(window).height();
	$('#menuFrame').height(height-40);
});
</script> 
</body>
</html>